<template>
	<view class="container">
		<view class="bg">
			<view class="navtitle">
				<view class="left" @click="back"></view>
				<view class="title">
					就近加油
				</view>
			</view>
			<view class="search">
				<view class="outsearch">
					<view class="innersearch">
						<u--input placeholder="请输入需要搜索的内容" border="none"> <template slot="suffix">
								<image src="../../../static/user3/搜索@3x.png"></image>
							</template></u--input>
					</view>
				</view>
				<navigator url="/pages/user3/jjjyoudh/jjjyoudh" class="searchright">
					<view style="margin-top: 20rpx;">地图</view>
					<view>模式</view>
				</navigator>
			</view>
			<view class="bgbottom">
				<view>90#</view>
				<view>92#</view>
				<view>93#</view>
				<view>95#</view>
				<view>97#</view>
				<view>98#</view>
			</view>
		</view>
		<view class="card">
			<uni-card style="border-radius: 26rpx;">
				<view class="title">
					<span style="font-size: 36rpx;font-weight: bold;">中国石油加油站</span>
					<span style="color: #569efd;">556m</span>
				</view>
				<view class="couponname">
					<view class="item">
						满200减20
					</view>
					<view class="item">
						满500减60
					</view>
				</view>
				<view class="jiayouzhan">
					<view class="img">
						<image src="../../../static/user3/car2.jpg"></image>
					</view>
					<view class="info">
						<view class="time">营业时间:周一至周五</view>
						<view class="price"><span>￥5.66/升</span></view>
						<view class="address">山阳区人民路与解放路交叉口
							<image src="../../../static/user3/plane@3x.png"></image>
						</view>
					</view>
				</view>
			</uni-card>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			back() {
				uni.navigateBack({
					delta: 1
				})
			},
		}
	}
</script>

<style scoped>
	.bg {
		width: 100%;
		height: 380rpx;
		background-color: #3082fb;
		overflow: hidden;
	}

	.navtitle {
		display: flex;
		margin-top: 40rpx;
		/* border: 1px solid red; */
		align-items: center;
	}

	.navtitle .left {
		width: 28rpx;
		height: 28rpx;
		margin-left: 20rpx;
		border-left: 2px solid white;
		border-bottom: 2px solid white;
		transform: rotate(45deg);
	}

	.bg .title {
		color: #e0ebfd;
		font-size: 40rpx;
		margin-left: 260rpx;
		font-family: 'Times New Roman', Times, serif;
		font-weight: 600;
	}

	.outsearch {
		margin-left: 40rpx;
		width: 76%;
		height: 88rpx;
		background-color: #f7f7f7;
		border-radius: 50rpx;
		display: flex;
		align-items: center;
		padding-left: 20rpx;
		box-sizing: border-box;
		/* border: 1px solid red; */
	}

	.innersearch {
		width: 94%;
		display: flex;
		justify-content: space-between;
		align-items: center;
		/* border: 1px solid red; */
	}

	.innersearch image {
		width: 40rpx;
		height: 40rpx;
	}

	.searchright {
		width: 110rpx;
		height: 110rpx;
		border-radius: 50%;
		background-image: url("../../../static/user3/searchbg.png");
		background-repeat: no-repeat;
		background-position: center;
		background-size: cover;
		/* border: 1px solid red; */
		color: #ffd9c6;
		margin-left: 10rpx;
		font-size: 30rpx;
		text-align: center;
	}

	.searchright view {
		/* border: 1px solid red; */
		height: 34rpx;
		line-height: 34rpx;
	}

	.search {
		margin-top: 30rpx;
		height: 120rpx;
		display: flex;
		align-items: center;
		/* border: 1px solid red; */
	}

	.bgbottom {
		display: flex;
		width: 90%;
		margin: 16rpx auto 0;
	}

	.bgbottom view {
		width: 100rpx;
		height: 60rpx;
		border: 1px solid white;
		border-radius: 16rpx;
		text-align: center;
		line-height: 60rpx;
		color: #f1f6fd;
		margin-right: 10rpx;
	}

	.title {
		display: flex;
		justify-content: space-between;
	}

	.couponname {
		display: flex;
		margin-top: 20rpx;
	}

	.item {
		width: 150rpx;
		height: 40rpx;
		background-color: #ffece5;
		margin-right: 10rpx;
		color: #ff6e3f;
		border-radius: 14rpx;
		text-align: center;
		line-height: 40rpx;
	}

	.jiayouzhan {
		width: 100%;
		height: 200rpx;
		display: flex;
		/* border: 1px solid red; */
	}
	.img{
		/* border: 1px solid red; */
		display: flex;
		align-items: center;
	}

	.jiayouzhan .img image {
		width: 220rpx;
		height: 140rpx;
		border-radius: 15rpx;
	}
	.info{
		/* border: 1px solid red; */
		margin-left: 20rpx;
	}
	.time{
		margin-top: 38rpx;
		font-weight: 600;
	}
	.price{
		color: #ff6b00;
	}
	.address{
		font-size: 24rpx;
		display: flex;
		align-items: center;
	}
	.address image{
		margin-left: 30rpx;
		height: 30rpx;
		width: 30rpx;
	}
</style>